const numbers = [1, 1, 23, 2, 3, 63, 2, 3, 4, 2];
const unique = (arr) => {
  return [...new Set(arr)];
};
console.log(unique(numbers)); // [ 1, 23, 2, 3, 63, 4 ]
